package com.sc.pattern.simplelistener;

/**
 * Created  on 2018/1/6.
 *
 * @author sc
 */
public class BinaryObserver extends Observer {


    public BinaryObserver(Subject subject) {
        super(subject);
    }

    @Override
    public void update() {
        System.out.println("状态:"+subject.getState());
    }
}
